﻿
namespace stdCall.Resource
{ 
    /// <summary>
    /// 提供资源模块的服务
    /// </summary>
    class ResourseServer
    {
        ResourseLoader resouseLoader = new ResourseLoader();

        /// <summary>
        /// 加载系统资源
        /// </summary>
        public void loadSystemResourse()
        {
            try
            {
            	resouseLoader.loadSystemResourse();
            }
            catch (System.Exception ex)
            {
                stdCall.View.DialogReply dialogReply = new stdCall.View.DialogReply();
                dialogReply.setReply("倒入系统资源失败，原因：" + ex.Message);
                dialogReply.Show();
            }
        }
    }
}
